#ifndef __B5FC1D46_FB86_45aa_97A8_473F1E2B3419__
#define __B5FC1D46_FB86_45aa_97A8_473F1E2B3419__

#include "../import/import.h"
#include "../data_struct/head.h"

namespace xos_log
{
    class config
    {
    public:
        config( i_log * pLog );
        ~config();

    protected:
        i_log * m_pLog;

    protected:
        //int load_config_info( IXMLDOMNode * pConfigRootNode );

        //int load_log_modules( IXMLDOMNode * pLogModules );
        //int load_log_module( IXMLDOMNode * pLogModule );
        //int load_log_levels( const char * lpszModuleName, IXMLDOMNode * pLogLevels );
        //int load_log_level( const char * lpszModuleName, IXMLDOMNode * pLogLevel );

    public:
        int load_config_string( const char * lpszConfigString );
        int load_config_file( const char * lpszConfigFile );
    };
} // xos_log

#endif // __B5FC1D46_FB86_45aa_97A8_473F1E2B3419__
